package com.example.online_order.service;

import com.example.online_order.pojo.AdminAccount;
import com.example.online_order.pojo.Shoppingcar;
import com.example.online_order.pojo.Shoucanglan;

import java.util.List;

public interface ShoucanglanService {
    public Integer addToS(Shoucanglan s);

    public Integer deleteS(Integer id);


    public Integer updateS(Shoucanglan s);


    public List<Shoucanglan> getAllS();

    public Shoucanglan getSById(Integer id);

    public List<Shoucanglan> getSByUsername(String userName);

    public Shoucanglan findSByGoodsname(String goodsname);


    public Shoucanglan findSLikeGoodsname(String goodsname);
}
